Telephone number selection

ABSTRACT

An example method of assigning a telephone number to a user account in a communications system is provided. The method includes obtaining a mnemonic seed and obtaining a subset of telephone numbers filtered from a global telephone number pool based on the mnemonic seed. The alphanumeric representation of each telephone number in the subset is within a threshold Hamming distance of the mnemonic seed. The method further includes receiving an indication of a selected telephone number from the subset and assigning the selected telephone number to the user account.

FIELD

The present invention relates to electronic communications and inparticular to telephone number selection.

BACKGROUND

A telephone network operator (“Carrier”) is a communications servicesprovider that may have a fixed and/or wireless network infrastructure toprovide communications services to its customers. A Carrier may utilizea combination of any number of technologies including those wirelesstechnologies provided by any number of mobile network providers (such ascellular, LTET™) and those provided by any number of consumerestablishments where Wi-Fi®, and the like, may be freely available tocustomers for Internet access.

A Carrier may use Voice over Internet Protocol (VoIP) which is atechnology that provides voice communications services and datacommunications services (e.g., multimedia sessions) over InternetProtocol (IP) networks, such as the Internet and/or private packetnetworks. Typically, a software telephony application using VoIP whichcan be installed on various devices such as handheld devices withAndroid or iOS operating systems, and desktop or laptop computers withWindows or Linux operating systems, for example. Further, VoIPtechnologies have evolved to include a telephone number for users andwhich include Short Message Service (SMS) for text messaging services.

These software telephony applications may be installed on mobile devicesas well as fixed (hard-wired desktop) computers. A single user may havea number of fixed computers and mobile devices where the softwaretelephony application is installed. It may be convenient for the user ifthe devices of the user all have the same telephone number.

A new user of a software telephony application may select a telephonenumber from a list of telephone numbers. Typically, the list oftelephone numbers presented to new users would be from a larger pool ofavailable telephone numbers. The list is typically a random selection oftelephone numbers from the pool. It would be advantageous to improve therandom selection of telephone numbers from the pool in order to providedesirous telephone numbers to new users for selection.

SUMMARY

According to one aspect of the present invention, there is provided acommunications system comprising: a mobile network to providecommunications for a plurality of mobile communications devices over awide-area IP network, wherein each of the plurality of mobilecommunications devices is associated with a respective mobile directorynumbers are associated with the plurality of mobile communicationsdevices; a wireless local-area network (WLAN) to provide communicationsfor a plurality of communications devices over the wide-area IP network;a voice over internet protocol (VoIP) service coupled to the mobilenetwork and the WLAN via the wide-area IP network, wherein the pluralityof communications devices are associated with VoIP telephone numbers; apublic switched telephone network (PSTN) coupled to the VoIP service;and a communications routing system coupled to the plurality ofcommunications devices and coupled to the VoIP service; and wherein atleast one VoIP telephone number is selected from a subset of telephonenumbers, wherein the subset is filtered from a global telephone numberpool based on a mnemonic seed, wherein each alphanumeric representationof respective telephone numbers in the subset is within a thresholdHamming distance of the mnemonic seed.

According to a further aspect, there is provided a communications systemwherein the subset comprises a set of telephone numbers from the globaltelephone number pool with the smallest Hamming distance from themnemonic seed.

According to a further aspect, there is provided a communications systemwherein the mnemonic seed comprises a functional mnemonic phrase.

According to a further aspect, there is provided a communications systemwherein the mnemonic seed comprises a selection of characters from afunctional mnemonic phrase.

According to a further aspect, there is provided a communications systemwherein the mnemonic seed comprises a homophonic combination of afunctional mnemonic phrase.

According to a further aspect, there is provided a communications systemwherein the mnemonic seed comprises one or more of: a user's first name,a user's last name, a user's account username, a user's date of birth, auser's ZIP code, and a user's latitude and longitude pair.

According to a further aspect, there is provided a communications systemwherein the subset is further filtered based on location information fora mobile communications device associated with a user, wherein thetelephone numbers have an area code for a geographic region determinedbased on the location information.

According to a further aspect, there is provided a communications systemwherein the mnemonic seed associated with a telephone number isdisplayed with the telephone number for selection by a user.

According to one aspect of the present invention, there is provided amethod including: obtaining a mnemonic seed; obtaining a subset oftelephone numbers filtered from a global telephone number pool based onthe mnemonic seed, wherein each alphanumeric representation ofrespective telephone numbers in the subset is within a threshold Hammingdistance of the mnemonic seed; receiving an indication of a selectedtelephone number from the subset; and assigning the selected telephonenumber to the user account.

According to a further aspect, there is provided a method wherein thesubset comprises the telephone numbers from the global telephone numberpool with the smallest Hamming distance from the mnemonic seed.

According to a further aspect, there is provided a method wherein themnemonic seed comprises one or more of: a functional mnemonic phrase; aselection of characters from a functional mnemonic phrase; and ahomophonic combination of a functional mnemonic phrase.

According to a further aspect, there is provided a method wherein themnemonic seed comprises one or more of: a user's first name, a user'slast name, a user's account name, a user's date of birth, a user's ZIPcode, and a user's latitude and longitude pair.

According to a further aspect, there is provided a method furthercomprising obtaining an area code, and wherein the subset is furtherfiltered based on the area code.

According to a further aspect, there is provided a method whereinobtaining the area code comprises obtaining location information for acommunications device associated with the user account; and determiningthe area code for a geographic region associated with the locationinformation.

According to a further aspect, there is provided a method whereinobtaining the area code comprises prompting a user to enter the areacode.

According to a further aspect, there is provided a method furthercomprising reserving, in the global telephone number pool, the telephonenumbers in the subset.

According to a further aspect, there is provided a method furthercomprising responsive to reserving the telephone numbers in the subset,tracking a predetermined period of time.

According to a further aspect, there is provided a method furthercomprising: if the indication of the selected telephone number is priorto the predetermined period of time elapsing: assigning the selectedtelephone number to the user account; and releasing other telephonenumbers in the subset back to the global telephone number pool; and ifthe selected telephone number is not received prior to the predeterminedperiod of time elapsing: expiring the predetermined period of time; andreleasing all the telephone numbers in the subset back to the globaltelephone number pool.

According to a further aspect, there is provided a method furthercomprising displaying the subset of telephone numbers at acommunications device with the respective mnemonic seeds used togenerate the telephone numbers.

According to one aspect of the present invention, there is provided aserver for assigning a telephone number to a user account in acommunications system, the server comprising a memory; a communicationsinterface; a processor interconnected with the memory and thecommunications interface, the processor configured to: obtain a subsetof telephone numbers filtered from a global telephone number pool basedon the mnemonic seed, wherein each alphanumeric representation ofrespective telephone numbers in the subset is within a threshold Hammingdistance of the mnemonic seed; receive an indication of a selectedtelephone number from the subset; and assign the selected telephonenumber to the user account.

BRIEF DESCRIPTION OF THE DRAWINGS

The drawings illustrate, by way of example only, implementations of thepresent invention.

FIG. 1 is a block diagram of an example environment of a communicationssystem which provides a list of telephone numbers for selection by newusers.

FIG. 2 is a block diagram of a communications routing system.

FIG. 3 is a flow diagram of a method to assign telephone numbers to auser account.

FIG. 4 is a flow diagram of another method to assign telephone numbersto a user account.

FIG. 5 is a screen of a communication device to display telephonenumbers for user selection

DETAILED DESCRIPTION

The present invention generally relates to providing wireless carrierservices (e.g., voice calls, short message service or SMS messages,general data communications, etc.) with quality of service to VoIPtelephone numbers where each VoIP telephone number is associated withone or more communications devices. While certain infrastructure may notoperate under Internet Protocol (IP) (e.g., PSTNs, cellular base stationnetworks, etc.), communications are routed to and from suchinfrastructure using IP to the extent possible. The present inventionalso generally relates to providing communications with QoS betweencommunication devices operating under the same account (same VoIPtelephone numbers), and tracking and managing prepaid balances fortraditional carrier services (e.g., voice call minutes, SMS messages,etc.) that are routed, an may be delivered, over IP. Other aspects ofthe present invention will also become apparent in light of thefollowing detailed description.

FIG. 1 shows a block diagram of an example environment of acommunications system 100 which provides a list of telephone numbers forselection by new users.

The system 100 includes a mobile network 20, such as a wireless cellularnetwork that operates under one or more known standards andtechnologies, such as Long Term Evolution (LTE), WorldwideInteroperability for Microwave Access (WiMAX), Enhanced Voice-DataOptimized (EVDO), Code Division Multiple Access (CDMA), HSPA (High SpeedPacket Access), and similar. The mobile network 20 provides voice, data,and SMS services.

The system 100 further includes at least one wireless local-area network(WLAN) 22 that operates under one or more known standards andtechnologies, such as IEEE 802.11.

The mobile network 20 and the WLAN 22 each connect to a wide-area IPnetwork 24, such as the Internet. The WLAN 22 can be connected to thewide-area IP network 24 by an Internet service provider (ISP) or thesimilar entity (not shown). The mobile network 20 can be connected tothe wide-area IP network 24 by a packet data interface.

The system 100 can further include a push notification service, such asthe kind operated by Google Inc. of Mountain View, Calif., and AppleInc. of Cupertino, Calif.

A plurality of mobile communications devices 30 can connect to themobile network 20, via base stations and other infrastructure, and canfurther connect to the WLAN 22, via access points or similar. Examplesof suitable mobile communications devices 30 include devices such ascellular telephones, smartphones, tablet computers, and the like thatare provided with wireless communications interfaces suitable for theparticular technologies used in the mobile network 20 and the WLAN 22.For sake of discussion it is assumed that all of the mobilecommunications devices 30 can connect to the mobile network 20 and WLAN22. In various implementations, different mobile communications deviceshave different types of wireless communications interfaces, differentconfigurations, and/or different access rights suitable for connectionto different mobile networks and different WLANs.

One or more stationary (fixed) communications devices 32, such as adesktop computer, laptop or wi-fi only device, server, or similar, canalso connect to the WLAN 22, via a router or wired access point. Forclarity, the term communications devices 30, 32 means mobilecommunications devices 30 and fixed communications devices 32.

The system 100 can further be connected to a public switched telephonenetworks (PSTN) 34 that supports connecting to a plurality of landlinetelephones, and additional mobile networks 38. The additional mobilenetworks 38 may have the same or similar features of the mobile network20 and may be operated by different carriers and/or operated accordingto different technologies and standards when compared to the mobilenetwork 20. For clarity, the mobile communications devices 30 connectedto the mobile network 20 may also initiate to or receive voice callsdirectly from the PSTN 34 (which may include additional mobile networks38) via the mobile network 20. Further, such voice calls, for example,may be via GSM (Global System for Mobile communication) from the mobilenetwork 20. For convenience, such voice calls via the mobile network 20in this disclosure are referred to as via a “voice channel”. This is incontrast to VoIP voice calls using a “data channel” of the mobilenetwork 20 such as the Packet Data Channel of GPRS (General Packet RadioService).

The system 100 further includes at least one voice-over-IP (VoIP)service 40, which can be configured to manage IP data streams related toVoIP communications (for example routing the IP data steam fromcommunications device 30, 32 to another communications device 30, 32).All VoIP calls are steamed through the VoIP service 40. It alsointerfaces (transcoding as necessary) with the PSTN 34 and theadditional mobile networks 38.

The VoIP service 40 may operate using one or more protocols, such as theSession Initiation Protocol (SIP), and one or more audio codecs, such asOpus. The VoIP service 40 can be connected to the PSTN 34 to allow VoIPcalls to be place to and from landlines and wireless devices in theadditional mobile networks 38. One of the functions of the VoIP service40 is to transcode the IP data streams so that it is compatible betweendifferent networks (for example between the mobile network 20 and thePSTN 34). In some implementations, the VoIP service 40 is a subcomponentof the mobile network 20 or the additional mobile networks 38.

The system 100 further includes a communications routing system 42connected to the VoIP service 40, the push notification service (notshown for simplicity), and the mobile network 20 via the wide-area IPnetwork 24. In some implementations, the VoIP service 40 is directlyconnected to the communications routing system 42 via a local IP networkdistinct from the wide-area IP network 24. The communications routingsystem 42 is configured to direct the routing of communications ofdisparate types between mobile communications devices 30 via the mobilenetwork 20 and/or the WLAN 22, and further with communications devices(including landlines) of the PSTN 34 and the additional mobile networks38 as needed.

The system 100 can further include a proxy connected to thecommunications routing system 42, the WLAN 22, and the mobile network 20via the wide-area IP network 24. In some implementations, thecommunications routing system 42 and the mobile communications devices30 can be configured to route communications events through the proxy.The proxy can be configured to handle VoIP call handoffs, as analternative to the communications routing system 42 handling such. Inaddition, the proxy can be configured to prioritize communicationsevents associated with the enhanced 911 system, as an alternative to thecommunications routing system 42 doing so. For example, the proxy cancontrol quality of service (QoS) settings for various communications, sothat 911 calls are prioritized. In some implementations, the VoIPservice 40 is configured to route all relevant VoIP data through theproxy. A suitable proxy service can be in the form of that availablefrom Pravala Networks Inc., of Kitchener, Ontario, Canada.

The system 100 can further include an interoperation service connectingthe communications routing system 42 to the mobile network 20 via thewide-area IP network 24. The communications routing system 42 can beconnected to the interoperation service via a virtual private network(VPN) established over the wide-area IP network 24. The interoperationservice is configured to interface with the various mobile networks 20,38. The interoperation service facilitates data communications betweenthe communications routing system 42 and the mobile network 20. Theinteroperation service further facilitates messaging services, such asSMS and MMS, between the communications routing system 42 and theadditional mobile networks 38. The interoperation service can be thekind provided by Syniverse of Tampa, Fla.

The communications routing system 42 (FIG. 2) includes at least onedatabase, such as an accounts database 44 and one or more user datadatabases 76, configured to store a plurality of associations betweenunique account identifiers (e.g., user names) and device identifiersincluding mobile-network identifiers supported by the mobile network 20,such as mobile directory numbers (MDNs, or telephone numbers) of themobile communications devices 30, and fixed identifiers of the fixedcommunications devices 32. For each user name, the database 44, 76 canstore associations with a number of communications devices 30, 32. Auser may have one or more fixed communications devices 32 and/or one ormore mobile communications devices 30. For some embodiments, a mobiledevice, such as a laptop or tablet, with only WLAN 22 capabilities canbe treated as fixed communications devices 32.

One mobile communications device 30 can have a first MDN for SMS/MMSmessages and VoIP calls, and a second MDN for services on the mobilenetwork 20. The first and second MDNs are district and mutuallydifferent. The first MDN is used at the VoIP service 40 and thecommunications routing system 42 for VoIP calls. The first MDN is alsoused at the interoperation service and communications routing system 42for communicating SMS/MMS messages. In some implementations, the firstMDNs are landline telephone numbers obtained from at least onecompetitive local exchange carrier (CLEC). The second MDN is used by themobile network 20 to track data usage by each respective mobilecommunication device 30, with the communications routing system 42 usingthe second MDNs to map data usage to particular accounts. The database44, 76 may further store push tokens to identify mobile communicationsdevices 30 via the push notification service, so that the communicationsrouting system 42 can send push notifications to the mobilecommunications devices 30. Alternatively or additionally, the database44, 76 may store currently assigned IP addresses for the communicationsdevices 30, 32.

In some embodiments, only the first (VoIP) MDN is used and the first MDNis registered with the mobile network 20 for data usage at the mobilenetwork 20. For such embodiments, functionality described hereindescribed with respect to the second (mobile network) MDN is performedusing the first (VoIP) MDN.

In other embodiments, a VoIP telephone number is associated with eachuser name which is distinct from the MDNs of the one or more mobilecommunication devices 30 of the user. The IP addresses of thecommunications devices 30, 32 may be obtained when the communicationsdevices 30, 32 contacts the communications routing system 42.

The communications routing system 42 further includes a routing engineresponsive to incoming communications events. Incoming communicationsevents can include initiation of voice calls, ending of voice calls,communication of SMS/MMS messages, requests for data. The routing engineis further configured to route data communications with the plurality ofmobile communications devices 30 over the mobile network 20 and the WLAN22 using the Internet, as well as with the plurality of fixedcommunications devices 32 over the WLAN 22 using the Internet. Therouting engine is further configured to initiate and end voice callswith communications devices 30, 32 as VoIP calls using the VoIP service40, and to communicate SMS messages with the plurality of mobilecommunications devices 30 via the mobile network 20 and the WLAN 22using the Internet, as well as with the plurality of fixedcommunications devices 32 over the WLAN 22 using the Internet.

The communications routing system 42 can further include a short messageservice center (SMSC) 78 and a multimedia message service center (MMSC)80 configured to store, forward, convert and deliver SMS and MMSmessages between the communications routing system 42 and theinteroperation service. The SMSC 78 and MMSC 80 can be configured tocommunicate with the interoperation service using the Short MessagePeer-to-Peer (SMPP) protocol.

Each mobile communications device 30 and fixed communications device 32can be associated with one of the unique account identifiers (e.g., usernames) stored in the database 44, 76. This can be achieved by, forexample, a client program executed on the mobile communications device30 requiring a user log in. When a user is logged in to the clientprogram, for example, the mobile communications device 30 becomesassociated with the respective unique account identifier.

For each account identifier in the database 44, 76; there is associateda voice call log, voice mails, SMS/MMS messages, contacts, and othersuch account data. Such account data must be synchronized with thecommunications devices 30, 32 of each account identifier so that a usermay review the same account data between different communicationsdevices 30, 32 of the user.

Each account identifier can be associated with a plurality of mobilecommunications devices 30, and each of the mobile communications devices30 can be associated with a first mobile-network identifier, such as afirst MDN that is associated with the VoIP service 40. Each accountidentifier can be associated with a second mobile-network identifier,such as a second MDN that is associated with mobile data access on themobile network 20. In some implementations, the second MDN is onlyassociated with mobile data access on the mobile network 20 to theexclusion of access to circuit-switched voice services and SMS/MMSservices that may be available on the mobile network 20. The mobilenetwork 20 uses the second MDN to track data usage of the mobilecommunications device 30, which can be reported to the communicationsrouting system 42. Hence, for each account identifier, voice servicesvia the VoIP service 40 are conducted with one MDN and data services areconducted via the mobile network using a different MDN. Thecommunications routing system 42 maps each MDN to a particular accountfor managing overall services to that account identifier.

An outgoing voice call from a communications device 30, 32 is conductedas follows. The communications device 30, 32 sends a call request to theVoIP service 40 via the WLAN 22, if connected, or otherwise via themobile network 20. The communications device 30, 32 registers with theVoIP service 40 if not already registered. If the destination device ison the PSTN 34, the VoIP service 40 completes the call via the PSTN 34.If the destination device has an account with the communications routingsystem 42, then the VoIP service 40 notifies the communications routingsystem 42 of the call request. The communications routing system 42 thenissues a push notification to the destination device (if connected viamobile network 20, through the push notification service) to notify thedestination device of the call. Then the destination device registerswith the VoIP service 40, if not already registered, and notifies theVoIP service 40 of call acceptance. The VoIP service 40 can notify thecommunications routing system 42 of call initiation and ending. When theproxy is used, VoIP voice data is routed through the proxy. The outgoingvoice call event is recorded in the associated account data of theaccount identifier in the communications routing system 42 so that itmay be synchronized with the client programs on the other communicationsdevices 30, 32 of the account identifier.

The mobile communications devices 30 can perform SIP registrations in avariety of ways.

For mobile communications devices 30 operating on iOS by Apple Inc., themobile communication device 30 receiving a push notification does notimmediately trigger SIP registration. Rather, the push notificationinforms the user of the incoming call, via an alert or similar. The usercan then respond to the push notification by opening the client program,which then performs the SIP registration.

For mobile communications devices 30 operating on Android by GoogleInc., the mobile communication device 30 can be configured to perform aSIP registration in response to receiving a push notification for anincoming call. That is, the SIP registration process can be startedbefore the user has accepted the call.

For some embodiments, incoming voice calls to a VoIP telephone number ofthe communications devices 30, 32 arrive at the VoIP service 40 via thePSTN 34 (for example). Incoming voice calls may also arrive at the VoIPservice 40 via the mobile network 20 or the WLAN 22. The VoIP service 40notifies the communications routing system 42 of a call request for aparticular destination communications device 30, 32. The communicationsrouting system 42 then issues a push notification to all of thedestination communications devices 30, 32 (through the push notificationservice, where connected to the mobile network 20), associated with theVoIP telephone numbers, to notify the destination communications devices30, 32 of the call.

If the user of the destination communications devices 30, 32 accepts thecall on one of the destination communication devices 30, 32, then thedestination communications device 30, 32 registers with the VoIP service40, if not already registered, and notifies the VoIP service 40 of callacceptance. The VoIP service 40 notifies the communications routingsystem 42 of call initiation and ending.

Incoming and outgoing voice calls made to or from a communicationsdevice 30, 32 associated with the communications routing system 42 aremade using the VoIP telephone number, which is established at the VoIPservice 40. When such a call is conducted as data via the mobile network20, the second MDN of the relevant mobile communications device 30 isused to track the data usage on the mobile network 20.

In some embodiments, caller ID is based on the VoIP telephone number tothe exclusion of the mobile network MDN. That is, the mobile network MDNis for tracking data usage only, and the VoIP telephone number is thebasis for outgoing and incoming calls.

An outgoing SMS/MMS message can be sent by a communications device 30,32 as follows. One or more IP data packets containing the SMS/MMSmessage are sent from the communications device 30, 32 to thecommunications routing system 42 via the WLAN 22, if connected, orotherwise via the mobile network 20. The sent data specifies adestination device using an MDN. The communications routing system 42determines whether the MDN is stored in the database 44, 76 and thuswhether the destination device is a communications device 30, 32associated with the communications routing system 42. If the destinationdevice is a communications device 30, 32 associated with thecommunications routing system 42, then the communications routing system42 stores the message and sends a push notification to the destinationcommunications device 30, 32 via the push notification service (ifconnected via the mobile network 20). When a user at the destinationcommunications device 30, 32 opens an SMS/MMS application/module orperforms a similar action, the destination communications device 30, 32fetches the stored message from the communications routing system 42. Ifthe destination device is not associated with the communications routingsystem 42, then the communications routing system 42 sends the SMS/MMSmessage to the destination device via the interoperation service.

Incoming SMS/MMS messages for the communications devices 30, 32 arriveat the communications routing system 42 either directly from othercommunications devices 30, 32 that have accounts at the communicationsrouting system 42 or via the interoperation service for devices that arenot associated with the communications routing system 42. Thecommunications routing system 42 stores a particular SMS/MMS message andsends a push notification to the destination communications device 30,32. When a user at the destination communications device 30, 32 opens anSMS/MMS application/module or performs a similar action, the destinationcommunications device 30, 32 fetches the stored message from thecommunications routing system 42.

Incoming and outgoing SMS/MMS messages made to or from a mobilecommunications device 30 associated with the communications routingsystem 42 are made using the first MDN. When messages are sent as datathrough the mobile network 20, the second MDN of the respective mobilecommunications device 30 is used to track the data usage on the mobilenetwork 20.

Incoming and outgoing SMS/MMS messages are recorded in the associatedaccount data of the account identifier in the communications routingsystem 42 so that it may be synchronized with the client programs on theother communications devices 30, 32 of the account identifier. In someembodiments, this synchronization occurs as and when the user of theother communication devices 30, 32 accesses the associated clientprograms when the client programs contacts the communications routingsystem 42 to synchronize with the incoming and outgoing SMS/MMSmessages, the voice call logs, the voice mails, and other such servicesincluding an address book of contacts.

Data communications between communications devices 30, 32 and betweencommunications devices 30, 32 and data sources, such as web sitesconnected to the wide-area IP network 24, are performed via the WLAN 22,if connected, and otherwise via the mobile network 20.

The system 100 further comprises a quality of services (QoS) server 90.The QoS server 90 determines the performance of a data channel to acommunications device 30, 32 for a voice call. Where the performance ofthe data channel to a communications device 30, 32 degrades or drops,the QoS server 90 directs the communication routing system 42 toestablish a new channel to the communications device 30, 32 to continuethe voice call. In the event that all data channels are degraded orterminated, then the QoS server 90 directs the communications routingsystem 42 to continue the voice call via a voice channel over the PSTN34 (or mobile network 20) when the mobile communications device 30 isconnected to the mobile network 20.

The QoS server 90 is shown as a standalone component in FIG. 1, however,it may be a subcomponent of another component such as the VoIP Service40 and the communications routing system 42. The QoS server 90 isconnected to the wide-area IP network 24 and as such a connection can bemade with any of the communications devices 30, 32.

For further clarity, it will be understood that the mobilecommunications devices 30 may be simultaneously connected to both themobile network 20 and the WLAN 22. While mobile network 20 may generallyprovide a better performing data channel then the WLAN 22 for voicecalls, the WLAN 22 may provide the data channel free of charge to users.

FIG. 2 shows a diagram of the communications routing system 42. Thecommunications routing system 42 includes a global telephone number pool88 (also referred to herein as simply pool 88) which includes builtdatabases (DB) 92, a load balancer 70, a plurality of servers 72, aswitch 74, a plurality of user data databases 76, and the accountsdatabase 44. The load balancer 70, servers 72, and switch 74 can beconsidered a routing engine. However, this is not limiting.

Communications devices 30, 32 connect to the load balancer 70 via thewide-area IP network 24 using a protocol, such as HTTP, HTTPS, or thelike. The load balancer 70 is configured to balance requests from thecommunications devices 30, 32 among the servers 72.

The servers 72 are connected to the load balancer 70. The servers 72 canbe configured to interface with the VoIP service 40 and the mobilenetwork 20. The servers 72 can be clones having the same functionality.The servers 72 contain program code configured to interface withapplication programming interfaces (APIs) provided by the VoIP service40 and the mobile network 20 and/or provide APIs for use by the VoIPservice 40 and the mobile network 20. The servers 72 may contain programcode (e.g. stored in memory) configured to perform the functionalitydescribed herein. The servers 72 may interface with APIs and othercomputing devices via communications interfaces. The servers 72 can beimplemented using Nginx, PHP, and similar technology.

The SMSC 78 and the MMSC 80 are connected to the servers 72 andconfigured to store, forward, convert and deliver SMS and MMS messagesbetween the servers 72 and the interoperation service using, forexample, the SMPP protocol and the MM4 protocol. The SMSC 78 and MMSC 80can be configured to connect to the interoperation service via asuitable binding and through a VPN tunnel. The SMSC 78 and MMSC 80expose an API to the routing engine, such that the routing engine canuse the API to send outgoing SMS/MMS messages. For incoming messages,the SMSC 78 and MMSC 80 are configured to invoke an API of the routingengine to cause the routing engine to store a received message and senda notification of the message to the destination communications device30, 32.

The switch 74 connects the servers 72 to the user data databases 76, theaccounts database 44, a cache 82, a queue 84, and the pool 88 whichincludes built databases (DB) 92.

The user data databases 76 store data for each of the users identifiedin the accounts database 44. Such user data can include the mobilenetwork MDNs, session ID, password, residential address, contacts (i.e.address book of contacts), sessions, in-app purchases, subscriptions,settings, balance information, and communications events including callhistories, voice mail content, SMS/MMS message transmission histories,and SMS/MMS message content. The user data databases 76 can beconfigured to store communications event histories for all user names inthe accounts database 44, such that a particular user's history can bedownloaded to any communications device 30, 32 with which the user logsin. The user data databases 76 can be implemented as database shards.

The user data is stored by the communications routing system 42 so thatit may be synchronized with the client programs on the communicationsdevices 30, 32 of the account identifiers (i.e. user accounts). In someembodiments, this user data synchronization occurs as and when the useraccesses the client programs on the of the communication devices 30, 32of the user.

In addition, for some embodiments, the routing engine is configured toanswer incoming calls with a busy signal when one of the communicationsdevices 30, 32 of associated with the VoIP telephone number is inanother call. In other embodiments, the routing engine is configured toinstead ring (notification including by audio and/or vibration) thecommunications devices 30, 32 with the communications device 30, 32 isin the another call providing an indication (by audio or vibration).

The cache 82 can be checked for data prior to requesting data from theuser data databases 76. In addition, requests can be queued in the queue84, which can be implemented using Redis or similar technology.

The accounts database 44 stores accounting data (such as data usage) ofthe users (or user accounts) and may include the identity of the users,account identifiers (user names), and associated VoIP telephone numbers.

The pool 88 is a database which stores telephone numbers which areavailable for assignment to user accounts. When a user or user accountdesires a new telephone number, the user may select a telephone numberfrom the pool 88 as their associated telephone number. Alternatively,the user may be assigned a telephone number from the pool 88.

The pool 88 further comprises one or more built databases 92. The builtdatabases 92 being databases of potentially more personalized telephonenumbers associated with identifying criteria. An example identifyingcriteria is geographic location of users which can be mapped toavailable telephone numbers such as 1-416-355-PEEL for a user in thetown of Peel. Another example identify criteria are parts or whole ZIPcodes such as 32828 zip code associated with the telephone number1-407-553-2828 or 1-407-328-2855.

An example built database 92 are telephone numbers based on user nameswhich can be mapped to alphanumeric digits based on the lettersassociated with the telephone keypad such as 1-800-444-ERIC. A furtherexample are keywords relevant to what the number is intended to be usedfor, such as 1-800-PAINTER.

FIG. 3 shows a flow diagram of a method 300 to assign telephone numbersto a user account. The method 300 will be described in conjunction withthe system 100 and the components illustrated in FIGS. 1 and 2. Forexample, the method 300 may be performed by the communications routingsystem 42, and in particular, by one of the servers 72 of thecommunications routing system 42. In other examples, the method 300 maybe performed by other suitable systems.

At block 305, the communications routing system 42 receives a request toassign a telephone number to a user account. For example, the requestmay be initiated when a new user account is being set up and the useraccount is in a state without a telephone number. In other examples, therequest may be initiated when a user having an existing user accountwishes to change the telephone number associated with the account.Specifically, the request may be received from a user's communicationsdevice 30, 32, and in particular, from a user application (e.g.executable in a browser or locally on the user's communications device30, 32) for managing user accounts.

At block 310, after receiving the request, the communications routingsystem 42 determines whether or not location information is availablefor the user. For example, the communications routing system 42 mayrequest location information from the user's communications device 30,32 in response to receiving the request to assign a new telephone numberat block 305. In an embodiment, the location information may be alatitude and longitude coordinate pair available to the user applicationon the user's communications device 30, 32. If the location informationis available, the location information is sent to the communicationsrouting system 42, and the method proceeds to block 315.

At block 315, the communications routing system 42 maps the locationinformation to a local area code. For example, the communicationsrouting system 42 may map the latitude and longitude coordinate pair anarea code based on the closest geographic region to the latitude andlongitude coordinate pair. The mapping may use the built database 92which includes a mapping of latitude and longitude coordinate pairs totelephone number area codes. In other examples, the built database 92may include a first mapping of latitude and longitude coordinate pairsto ZIP codes, or other suitable geographic region identifiers, and asecond mapping of the resulting ZIP code or other geographic regionidentifier to local telephone number area codes. The local telephonenumber area codes applicable to the user account is thus determined. Insome examples, one or more local telephone number area codes may beapplicable to a user account. For example, some geographic regions oflocal telephone number area codes may overlap. Further, some geographicregions may include multiple local telephone number area codes ormultiple local overflow area codes. The resulting one or more local areacodes are stored as a variable x1 at the communications routing system42.

If, at block 310, location information is not available on the user'saccount, or on the user's communication device 30, 32, the methodproceeds to block 320. At block 320, the communications routing system42 transmits a prompt to enter one or more local area telephone numbercodes. The prompt may be displayed, for example, at the user'scommunication device 30, 32 from which the request was received at block305. Upon receipt of the one or more local area telephone number codesfrom the user, the one or more local telephone number area codes arestored as a variable x1 at the communications routing system 42.

At block 325, the communications routing system 42 obtains a mnemonicseed for storing in a second variable x2. In some examples, the variablex2 may store more than one mnemonic seed. For example, thecommunications routing system 42 may cooperate with the user applicationto obtain a mnemonic seed based on user information associated with theuser's account. For example, the mnemonic seed may be based on one ormore of: the user's first name, the user's last name, the user's accountname, the user's date of birth, the user's ZIP code, and the user'slatitude and longitude pair (or other location information). In otherembodiments, the communications routing system 42 may obtain the userinformation independently from the user application, based on datastored at the communications routing system 42. The user information maybe provided during account registration (not shown). For example, a userwith the name Jeff may desire a telephone number which is has analphanumeric representation of “JEFF”, such as 212-555-5333.

At block 330, the communications routing system 42 obtains a subset P′of telephone numbers filtered from the global telephone number pool 88based on the variables x1 and x2. Specifically, the communicationsrouting system 42 filters for a list of options for suggested telephonenumbers. For example, the filtering may be performed as follows: for x1,the communications routing system 42 filters the telephone numbers inthe pool 88 to provide the subset P′ that is in the area code or in thelocal overflow area codes; x2 is used amongst the set P′ to findtelephone number options that have a threshold Hamming distance betweenthe alphanumeric representation of the telephone number and one or moreof the mnemonic seeds stored in the variable x2. P′ may then be modifiedto be an ordered set using the calculated Hamming distance in ascendingorder.

A Hamming distance is the calculated distance (relevance) between twostrings based on the differences in the characters in the string. As anexample, the strings “BAT” and “BAG” have a Hamming distance of one (“T”and “G” are the only different characters). The calculation for theHamming distance is well known and is also described aten.wikipedia.org/wiki/Hamming_distance.

At block 335, the communications routing system 42 obtains a subset P[ ]of the telephone numbers in the subset P′ and reserves the numbers inthe subset P[ ] in the global telephone number pool 88. In someexamples, the subset P[ ] may include five telephone numbers from theordered set P′ which are not yet reserved in the global telephone numberpool 88, and which have the lowest Hamming distance based on at leastone mnemonic seed stored in the variable x2. For example, thecommunications routing system 42 may evaluate each telephone number inthe ordered set P′ starting at the beginning. In particular, for eachtelephone number, the communications routing system 42 may first checkwhether the telephone number is still available in the global telephonenumber pool 88. If the telephone number is available, the communicationsrouting system 42 may add the telephone number to the subset P[ ] andreserve the telephone number in the global telephone number pool 88. Ifthe telephone number is not available, the communications routing system42 may proceed to the next telephone number in the ordered subset. Thecommunications routing system 42 may continue in this manner until athreshold condition is reached. For example, the threshold condition maybe the subset P[ ] having five telephone numbers, or the subset P′ beingexhausted.

At block 340, the subset P[ ] is presented to a user for selection and atimer is initiated. Specifically, the timer tracks a predeterminedmaximum period of time in which the telephone numbers in the subset P[ ]are to be reserved. That is, the timer tracks the predetermined periodof time during which the user may select a telephone number from thesubset P[ ] while the telephone numbers are reserved. The subset P[ ]may be presented to the user, for example, via the user application atthe user's communication device 30, 32. In some examples, the telephonenumbers in the subset may be displayed with the mnemonic seed used togenerate the telephone number.

At block 345, the communications routing system 42 determines whetherthe predetermined period of time has elapsed. If the time has elapsed,the method proceeds to block 350.

At block 350, the communications routing system 42 expires thepredetermined period of time and releases the telephone numbers in thesubset P[ ] back to the global telephone number pool 88. In someexamples, the communications routing system 42 may then return to block335 to obtain a new subset P[ ] based on the variables x1 and x2. Inparticular, subsequent iterations of block 335 may generate differentsubsets P[ ] due to the nature of the global telephone number pool 88.The pool 88 is accessible for multiple user accounts, but a singletelephone number may only be available to a single user account at atime. Thus, the telephone number may be reserved for another useraccount, and hence it may not be an option in subsequent iterations ofthe block 335.

If, at block 345, the predetermined period of time has not elapsed, thecommunications routing system 42 continues to maintain the subset P[ ]and the presentation of the subset P[ ] to the user.

At block 355, the communications routing system 42 receives a selectionof a telephone number from the user. Specifically, the selection may bereceived at the user application, and communicated via the userapplication to the communications routing system 42. The communicationsrouting system 42 may then assign the selected telephone number to theuser account.

FIG. 4 shows a flow diagram of another method 400 to assign telephonenumbers to a user account.

At block 405, the communications routing system 42 receives a request toassign a telephone number to a user account. For example, the requestmay be initiated when a new user account is being set up and the useraccount is in a state without a telephone number. In other examples, therequest may be initiated when a user having an existing user accountwishes to change the telephone number associated with the account.Specifically, the request may be received from a user's communicationsdevice 30, 32, and in particular, from a user application (e.g.executable in a browser or locally on the user's communications device30, 32) for managing user accounts.

At block 410, responsive to receiving the request, the communicationsrouting system 42 determines whether or not location information isavailable for the user. For example, the communications routing system42 may request location information from the user's communicationsdevice 30, 32 in response to receiving the request to assign a newtelephone number at block 405. In an embodiment, the locationinformation may be a latitude and longitude coordinate pair available tothe user application on the user's communications device 30, 32. If thelocation information is available, the location information is sent tothe communications routing system 42, and the method proceeds to block415.

At block 415, the communications routing system 42 maps the locationinformation to a local area code. For example, the communicationsrouting system 42 may map the latitude and longitude coordinate pair anarea code based on the closest geographic region to the latitude andlongitude coordinate pair. The mapping may use the built database 92which includes a mapping of latitude and longitude coordinate pairs totelephone number area codes. In other examples, the built database 92may include a first mapping of latitude and longitude coordinate pairsto ZIP codes, or other suitable geographic region identifiers, and asecond mapping of the resulting ZIP code or other geographic regionidentifier to local telephone number area codes. The local telephonenumber area codes applicable to the user account is thus determined. Insome examples, one or more local telephone number area codes may beapplicable to a user account. For example, some geographic regions oflocal telephone number area codes may overlap. Further, some geographicregions may include multiple local telephone number area codes ormultiple local overflow area codes. The resulting one or more local areacodes are stored as a variable x1 at the communications routing system42.

If, at block 410, location information is not available on the user'saccount, or on the user's communication device 30, 32, the methodproceeds to block 420. At block 420, the communications routing system42 transmits a prompt to enter one or more local area telephone numbercodes. The prompt may be displayed, for example, at the user'scommunication device 30, 32 from which the request was received at block405. Upon receipt of the one or more local area telephone number codesfrom the user, the one or more local telephone number area codes arestored as a variable x1 at the communications routing system 42.

At block 425, the communications routing system 42 prompts the user tosupply a mnemonic seed for storing as a second variable x2. For example,a prompt may be displayed at the user's communications device 30, 32 viathe user application. The user may input a desired keyword or phrase asthe mnemonic seed. Examples of mnemonic seeds include any words that auser may want to have include as part of an alphanumeric representationof their telephone number, such as 212-555-TECH. Another example of amnemonic seed is a number, such as the number 1234, resulting in thetelephone number 212-555-1234. Other examples of suitable mnemonic seedsinclude the user's first name, the user's last name, the user's accountname, the user's date of birth, the user's ZIP code, the user's latitudeand longitude pair, and other functional phrases (such as PAINTER,PIZZA, CAKE, PHONE, CAR, etc.) and other phrases.

In some examples, the functional mnemonic phrase may exceed the numberof digits of a standard telephone number (e.g. exceeding 7 or 10characters). The communications routing system 42 may be configured toselect a selection of characters, including acronyms of the phrase,rather than the full phrase, for storing as a mnemonic seed in thevariable x2. For example, the communications routing system 42 mayinclude a database of common acronyms or character selections forcommonly used words. The phrase “LUCKY SUPERJACKOT” may result in thealphanumeric representation 212-555-LYSJ or 212-LUC-JACK or212-555-LUSK. Further, in addition to using common terms, a homophonicrelationship of letters and numbers or phrases and letters may be usedto increase the number of possible telephone numbers that can be mappedto the mnemonic seed input by the user. For example, the substring “ATE”may be substituted with the number 8, as the pronunciation of “ATE” and“eight” are similar. If a user were to enter a phrase such as “GATE”,the communications routing system 42 may return telephone numberscontaining the digits 4283, having an alphanumeric representationG-A-T-E, or the digits 48, having the alphanumeric representation G-8.Hence both “GATE” or “G8” may be stored as a mnemonic seed in thevariable x2. This may be repeated with multiple homophonic combinationsthat exist in any phonetic language.

At block 430, the communications routing system 42 obtains a subset P′of telephone numbers filtered from the global telephone number pool 88based on the variables x1 and x2. Specifically, the communicationsrouting system 42 filters for a list of options for suggested telephonenumbers. For example, the filtering may be performed as follows: for x1,the communications routing system 42 filters the telephone numbers inthe pool 88 to provide the subset P′ that is in the area code or in thelocal overflow area codes; x2 is used amongst the set P′ to findtelephone number options that have a threshold Hamming distance betweenthe alphanumeric representation of the telephone number and one or moreof the mnemonic seed stored in the variable x2. P′ may then be modifiedto be an ordered set using the calculated Hamming distance in ascendingorder.

At block 435, the communications routing system 42 obtains a subset P[ ]of the telephone numbers in the subset P′ and reserves the numbers inthe subset P[ ] in the global telephone number pool 88. In someexamples, the subset P[ ] may include five telephone numbers from theordered set P′ which are not yet reserved in the global telephone numberpool 88, and which have the lowest Hamming distance based on at leastone mnemonic seed stored in the variable x2. For example, thecommunications routing system 42 may evaluate each telephone number inthe ordered set P′ starting at the beginning. In particular, for eachtelephone number, the communications routing system 42 may first checkwhether the telephone number is still available in the global telephonenumber pool 88. If the telephone number is available, the communicationsrouting system 42 may add the telephone number to the subset P[ ] andreserve the telephone number in the global telephone number pool 88. Ifthe telephone number is not available, the communications routing system42 may proceed to the next telephone number in the ordered subset. Thecommunications routing system 42 may continue in this manner until athreshold condition is reached. For example, the threshold condition maybe the subset P[ ] having five telephone numbers, or the subset P′ beingexhausted.

At block 440, the subset P[ ] is presented to a user for selection and atimer is initiated. Specifically, the timer represents a predeterminedmaximum period of time in which the user may select a telephone numberfrom the subset P[ ]. The subset P[ ] may be presented to the user, forexample, via the user application at the user's communication device 30,32. In some examples, the telephone numbers in the subset may bedisplayed with the mnemonic seed associated with the telephone number.

At block 445, the communications routing system 42 determines whetherthe predetermined period of time has elapsed. If the time has elapsed,the method proceeds to block 450.

At block 450, the communications routing system 42 expires thepredetermined period of time and releases the telephone numbers in thesubset P[ ] back to the global telephone number pool 88. In someexamples, the communications routing system 42 may then return to block435 to obtain a new subset P[ ] based on the variables x1 and x2. Inparticular, subsequent iterations of block 435 may generate differentsubsets P[ ] due to the nature of the global telephone number pool 88.The pool 88 is accessible for multiple user accounts, but a singletelephone number may only be available to a single user account at atime. Thus, the telephone number may be reserved for another useraccount, and hence it may not be an option in subsequent iterations ofthe block 335.

If, at block 445, the predetermined period of time has not elapsed, thecommunications routing system 42 continues to maintain the subset P[ ]and the presentation of the subset P[ ] to the user.

At block 455, the communications routing system 42 may receive a newword, phrase or number (or a combination thereof) to be entered as a newmnemonic seed for storing in the variable x2. Accordingly, the methodreturns to block 430 to obtain a new subset P′ based on the previouslystored x1 and the updated variable x2.

At block 460, the communications routing system 42 receives a selectionof a telephone number from the user. Specifically, the selection may bereceived at the user application, and communicated via the userapplication to the communications routing system 42. The communicationsrouting system 42 may then assign the selected telephone number to theuser account.

FIG. 5 shows a screen of a communication device to display telephonenumbers for user selection according to FIG. 4. The screen comprises atimer field 505, telephone number fields 550, pricing fields 510,selection fields 530, and a new search field 520. Further, in thisexample, the alphanumeric representation of the telephone number,including the mnemonic phrase 540, is displayed, with the associateddigits of the telephone number displayed below for ease of associationby the user. While FIG. 5 shows the alphanumeric representation519-555-TAXI with the digits 4545 above the characters “TAXI”,alternately, the digits 4545 may be displayed below the characters“TAXI”. Optionally, the communication device may display the telephonenumber 519-555-4545, with the mnemonic seed “TAXI” displayed above orbelow the digits 4545. In some examples, respective mnemonic seeds usedto generate each telephone number in the subset may be displayed withthe telephone numbers.

While the foregoing provides certain non-limiting exampleimplementations, it should be understood that combinations, subsets, andvariations of the foregoing are contemplated. The monopoly sought isdefined by the claims.

What is claimed is:
 1. A communications system comprising: a mobilenetwork to provide communications for a plurality of mobilecommunications devices over a wide-area IP network, wherein each of theplurality of mobile communications devices is associated with arespective mobile directory numbers are associated with the plurality ofmobile communications devices; a wireless local-area network (WLAN) toprovide communications for a plurality of communications devices overthe wide-area IP network; a voice over internet protocol (VoIP) servicecoupled to the mobile network and the WLAN via the wide-area IP network,wherein the plurality of communications devices are associated with VoIPtelephone numbers; a public switched telephone network (PSTN) coupled tothe VoIP service; and a communications routing system coupled to theplurality of communications devices and coupled to the VoIP service; andwherein at least one VoIP telephone number is selected from a subset oftelephone numbers, wherein the subset is filtered from a globaltelephone number pool based on a mnemonic seed, wherein eachalphanumeric representation of respective telephone numbers in thesubset is within a threshold Hamming distance of the mnemonic seed. 2.The system of claim 1, wherein the subset comprises a set of telephonenumbers from the global telephone number pool with the smallest Hammingdistance from the mnemonic seed.
 3. The system of claim 1, wherein themnemonic seed comprises a functional mnemonic phrase.
 4. The system ofclaim 1, wherein the mnemonic seed comprises a selection of charactersfrom a functional mnemonic phrase.
 5. The system of claim 1, wherein themnemonic seed comprises a homophonic combination of a functionalmnemonic phrase.
 6. The system of claim 1, wherein the mnemonic seedcomprises one or more of: a user's first name, a user's last name, auser's account username, a user's date of birth, a user's ZIP code, anda user's latitude and longitude pair.
 7. The system of claim 1, whereinthe subset is further filtered based on location information for amobile communications device associated with a user, wherein thetelephone numbers have an area code for a geographic region determinedbased on the location information.
 8. The system of claim 1, wherein themnemonic seed associated with a telephone number is displayed with thetelephone number for selection by a user.
 9. A method of assigning atelephone number to a user account in a communications system, themethod comprising: obtaining a mnemonic seed; obtaining a subset oftelephone numbers filtered from a global telephone number pool based onthe mnemonic seed, wherein each alphanumeric representation ofrespective telephone numbers in the subset is within a threshold Hammingdistance of the mnemonic seed; receiving an indication of a selectedtelephone number from the subset; and assigning the selected telephonenumber to the user account.
 10. The method of claim 9, wherein thesubset comprises the telephone numbers from the global telephone numberpool with the smallest Hamming distance from the mnemonic seed.
 11. Themethod of claim 9, wherein the mnemonic seed comprises one or more of: afunctional mnemonic phrase; a selection of characters from a functionalmnemonic phrase; and a homophonic combination of a functional mnemonicphrase.
 12. The method of claim 9, wherein the mnemonic seed comprisesone or more of: a user's first name, a user's last name, a user'saccount name, a user's date of birth, a user's ZIP code, and a user'slatitude and longitude pair.
 13. The method of claim 9, furthercomprising obtaining an area code, and wherein the subset is furtherfiltered based on the area code.
 14. The method of claim 13, whereinobtaining the area code comprises obtaining location information for acommunications device associated with the user account; and determiningthe area code for a geographic region associated with the locationinformation.
 15. The method of claim 13, wherein obtaining the area codecomprises prompting a user to enter the area code.
 16. The method ofclaim 9, further comprising reserving, in the global telephone numberpool, the telephone numbers in the subset.
 17. The method of claim 16,further comprising responsive to reserving the telephone numbers in thesubset, tracking a predetermined period of time.
 18. The method of claim17, further comprising: if the indication of the selected telephonenumber is prior to the predetermined period of time elapsing: assigningthe selected telephone number to the user account; and releasing othertelephone numbers in the subset back to the global telephone numberpool; and if the selected telephone number is not received prior to thepredetermined period of time elapsing: expiring the predetermined periodof time; and releasing all the telephone numbers in the subset back tothe global telephone number pool.
 19. The method of claim 9, furthercomprising displaying the subset of telephone numbers at acommunications device with the respective mnemonic seeds used togenerate the telephone numbers.
 20. A server for assigning a telephonenumber to a user account in a communications system, the servercomprising: a memory; a communications interface; a processorinterconnected with the memory and the communications interface, theprocessor configured to: obtain a subset of telephone numbers filteredfrom a global telephone number pool based on the mnemonic seed, whereineach alphanumeric representation of respective telephone numbers in thesubset is within a threshold Hamming distance of the mnemonic seed;receive an indication of a selected telephone number from the subset;and assign the selected telephone number to the user account.